<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 输入框
        prompt('输入姓名');
        // 警示框
        alert('别输入错');
        // 日志打印
        console.log('日志内容');
    </script>
</head>
<body>
    
</body>
</html>